package com.sf.fy.uav.withdrawal.rest;

import com.sf.fy.uav.withdrawal.entity.WithdrawalStatistics;
import com.sf.fy.uav.withdrawal.service.IWithdrawalStatisticsService;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 提现记录表 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2023-08-31
 */
@Controller
@RequestMapping("/sys/withdrawal-statistics")
public class WithdrawalStatisticsRest {

    @Autowired
    private IWithdrawalStatisticsService iWithdrawalStatisticsService;

    public WithdrawalStatistics getStatistics(String userId, Date statisticsDate) {
        return iWithdrawalStatisticsService.getStatistics(userId, statisticsDate);
    }
}
